package com.wen.hystrixdashboard;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wenl
 * @version V2.0
 * @project 自己的框架
 * @package com.wen.hystrixdashboard
 * @date 2020/3/28
 * @describe
 */
@RestController
public class WenController {

    @Autowired
    private WenRemote wenRemote;

    @GetMapping("/wen")
    public String wen(){
        return wenRemote.hello("wen-123");
    }
}
